package com.genius.model;

import java.io.Serializable;
import java.util.Date;

import com.genius.util.DateUtil;

public class StudentPayment implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -1607211258837581965L;
	
	protected Long id;
	protected String studentId;
	protected Long levelId;
	protected Double amount; 
	protected String paymentMode;
	protected String bankBranch;
	protected String chequeBankName;
	protected String receiptNumber;
	protected String chequeNo;
	protected Date chequeDate;
	protected Date paymentDate;
	protected String remarks;
	
	/**
	 * @return Returns the amount.
	 */
	public Double getAmount() {
		return amount;
	}
	/**
	 * @param amount The amount to set.
	 */
	public void setAmount(Double amount) {
		this.amount = amount;
	}
	/**
	 * @return Returns the chequeDate.
	 */
	public Date getChequeDate() {
		return chequeDate;
	}
	/**
	 * @param chequeDate The chequeDate to set.
	 */
	public void setChequeDate(Date chequeDate) {
		this.chequeDate = chequeDate;
	}
	/**
	 * @return Returns the chequeNo.
	 */
	public String getChequeNo() {
		return chequeNo;
	}
	/**
	 * @param chequeNo The chequeNo to set.
	 */
	public void setChequeNo(String chequeNo) {
		this.chequeNo = chequeNo;
	}
	/**
	 * @return Returns the id.
	 */
	public Long getId() {
		return id;
	}
	/**
	 * @param id The id to set.
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * @return Returns the paymentDate.
	 */
	public Date getPaymentDate() {
		return paymentDate;
	}
	/**
	 * @param paymentDate The paymentDate to set.
	 */
	public void setPaymentDate(Date paymentDate) {
		this.paymentDate = paymentDate;
	}
	
	/**
	 * @return Returns the remarks.
	 */
	public String getRemarks() {
		return remarks;
	}
	/**
	 * @param remarks The remarks to set.
	 */
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	/**
	 * @return Returns the studentId.
	 */
	public String getStudentId() {
		return studentId;
	}
	/**
	 * @param studentId The studentId to set.
	 */
	public void setStudentId(String studentId) {
		this.studentId = studentId;
	}
	public String getPaymentMode() {
		return paymentMode;
	}
	public void setPaymentMode(String paymentMode) {
		this.paymentMode = paymentMode;
	}
	
	public String getChequeDateStr() {
		return DateUtil.dateToString(this.getChequeDate());
	}

	public void setChequeDateStr(String value) {
		this.setChequeDate(DateUtil.stringToDate(value));
	}

	public String getPaymentDateStr() {
		return DateUtil.dateToString(this.getPaymentDate());
	}

	public void setPaymentDateStr(String value) {
		this.setPaymentDate(DateUtil.stringToDate(value));
	}
	public String getBankBranch() {
		return bankBranch;
	}
	public void setBankBranch(String bankBranch) {
		this.bankBranch = bankBranch;
	}
	public String getReceiptNumber() {
		return receiptNumber;
	}
	public void setReceiptNumber(String receiptNumber) {
		this.receiptNumber = receiptNumber;
	}
	public String getChequeBankName() {
		return chequeBankName;
	}
	public void setChequeBankName(String chequeBankName) {
		this.chequeBankName = chequeBankName;
	}
	public Long getLevelId() {
		return levelId;
	}
	public void setLevelId(Long levelId) {
		this.levelId = levelId;
	}

}
